StopAllSound()
BasePlane(1.5, 1.5, 0, 0, 0, false)
CamLimits(-30, -18, 30, 20)
CamPos(0, 60, -40, 0, 0, 0)
CamIso(true, 0, 90, 90)
AddPlayer("ogre", 20, 32, Vector3(-71, 0, -70), 40, Vector3(0, 0, 0), 0)
AddObject("0", "field/dungeon1/0", 150, 223, Vector3(0, -50, -41))
AddObject("1", "field/dungeon1/1", 151, 227, Vector3(0, -120, 4))
AddObject("2", "field/dungeon1/2", 150, 225, Vector3(0, -88.25, -16))
AddTrigger("dungeon1.ExitDungeon", Vector3(-73, 0, -82), 3, 0)
FadeIn(1000)
PlayerControl(true)
soundEngine.PlayMusic("shivaice", true, 3000)

dungeon1.ExitDungeon = function (position)
	FadeOut(1000)
	AddTimeTrigger(GetCurrentTime() + 1000, "dungeon1.afterFade1")
	return 0
end

dungeon1.afterFade1 = function()
	SetGlobalVariable("ScenaEntrata", false)
	LoadField("entrata")
end